unit UEscola;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Buttons, ExtCtrls, Grids, DBGrids;

type
  TfrmCadEscolas = class(TForm)
    Panel1: TPanel;
    Label3: TLabel;
    Edit3: TEdit;
    Panel2: TPanel;
    BitBtn1: TBitBtn;
    BitBtn2: TBitBtn;
    BitBtn3: TBitBtn;
    BitBtn4: TBitBtn;
    StringGrid1: TStringGrid;
    procedure BitBtn4Click(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmCadEscolas: TfrmCadEscolas;

implementation

{$R *.dfm}

procedure TfrmCadEscolas.BitBtn4Click(Sender: TObject);
begin
  Close;
end;

procedure TfrmCadEscolas.FormClose(Sender: TObject;
  var Action: TCloseAction);
begin
  frmCadEscolas.Release;
  frmCadEscolas := nil;
end;

procedure TfrmCadEscolas.FormShow(Sender: TObject);
begin
  Edit3.SetFocus;
end;

end.
